package com.tich.program.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.tich.program.domain.entity.ProgramTicket;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tich.program.domain.vo.ProgramTicketSelectVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProgramTicketMapper extends BaseMapper<ProgramTicket> {

    Integer getMinPriceByProgramId(@Param("ew") LambdaQueryWrapper<ProgramTicket> queryWrapper);

    List<ProgramTicketSelectVO> selectProgramTickets(Long programId);

    String ticketCategorySelect(Long ticketId);
}
